import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-layout-head-right-menu',
  templateUrl: './layout-head-right-menu.component.html',
  styleUrls: ['./layout-head-right-menu.component.less'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class LayoutHeadRightMenuComponent implements OnInit {

  constructor(private router: Router) { }
  goPage(path: string): void {
    this.router.navigateByUrl(`/default/personal/${path}`);
  }
  goLogin(){}
  showMessage(){
    console.log('多语言')
  }
  ngOnInit(): void {
  }

}
